package com.houseliker.activity;

import android.os.Bundle;

import com.houseliker.R;
import com.houseliker.activity.BaseActivity;
import com.houseliker.activity.calculate.PieChartFragment;
import com.houseliker.listener.OnArticleSelectedListener;

public class MainActivity extends BaseActivity implements OnArticleSelectedListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        transaction = fragmentManager.beginTransaction();
        transaction.replace(R.id.fl_contain, new PieChartFragment());
        transaction.commit();
    }

    @Override
    public void onArticleSelected(Object obj, int what) {

    }
}
